package com.xiaoli.goods.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "goods-server")
public interface IGoodsClient {

    @PostMapping
    void updateStock(@RequestParam("id") Long id, @RequestParam("changeStock") Integer changeStock);
}
